package com.example.yuejian21.nongfusanquan.yuejian21.service;

import com.example.yuejian21.nongfusanquan.yuejian21.javabean.Clubbean;
import com.example.yuejian21.nongfusanquan.yuejian21.javabean.Commentbean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Nongfusanquan on 2017-11-04.
 */

public interface CommentService {
    @GET("Comment/getCommentList")
    Call<List<Commentbean>> getCommentlist(
            @Query("p_id") String pid);


    @GET("Comment/addComment/")
    Call<Commentbean> addComment(@Query("pid")String pid,
                              @Query("content")String content,
                              @Query("uid")String user_id);

}
